<template>
  <div>
    <iframe :src="url" width="100%" height="916" frameborder="0"/>
  </div>
</template>

<script>

export default {
  name: 'Dashboard',
  data() {
    return {
      url: '',
      msg: '',
      name: ''
    };
  },
  watch: {
    $route: {
      handler: function(route) {
        this.url = this.$route.meta.link;
      },
      immediate: true
    }
  },
  created() {
    this.getUrl();
  },
  methods: {
    getUrl() {
      this.url = this.$route.meta.link;
    }
  }
};
</script>

<style scoped>
</style>
